package cn.xinfei.xdecision.common.model.component;

import cn.xinfei.xdecision.common.utils.enums.enginex.ComponentVersionStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class ComponentVersionVo {

    @ApiModelProperty("版本id")
    private Long id;

    @ApiModelProperty("版本号")
    private Long versionNo;

    @ApiModelProperty("版本号")
    private String versionNoDesc;

    @ApiModelProperty("版本描述")
    private String description;

    /**
     * @see ComponentVersionStatusEnum
     */
    @ApiModelProperty("组件状态")
    private Integer status;

    @ApiModelProperty("组件状态描述")
    private String statusDesc;
}
